package edu.hqu.deepspace.service;

import edu.hqu.deepspace.pojo.Product;

import java.util.List;

public interface ProductService {

    int addProduct(Product product);


    int deleteProductById(int id);

    int updateProduct(Product product);


    Product queryProductById(int id);

    List<Product> queryAllProduct();
}
